package BehavioralModel.ResponsibilityChainModel;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-08 11:22:00
 */
abstract class Manager {

    protected String name;

    public Manager superior;

    public Manager(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Manager getSuperior() {
        return superior;
    }

    public void setSuperior(Manager superior) {
        this.superior = superior;
    }

    abstract void RequestApplication(Request request);
}
